package com.example.designpattern.adapter;

public class AdaptorPatternTest {
    public static void main(String[] args) {
        ChineseSpeaker chineseSpeaker=new Translate(new EnglishSpeaker());
        String english = chineseSpeaker.speakChinese("english");
        System.out.println(english);
    }
}
